﻿<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head><title>环境检测工具</title>
<META HTTP-EQUIV="pragma" CONTENT="no-cache"> 
<script type="text/javascript" src="../script/common.js"></script>
<script src="../script/card.js"></script>
<script src="../script/cardjs.js"></script>
<style type="text/css">
	.t{
		background-color:#333;
	}
	.t TD{
		background-color:#FFF;
	}
	.t TH{
		background-color:#EEE;
	}
</style>
<script language="javascript">
	var pinPadPort;
</script>
</head>
<body>
<table width="800" align=center cellpadding="4" cellspacing="1" class="t" onload="initActiveX()">
	<tr><th colspan=3>客户端环境检测</th></tr>
	<tr><td colspan=3><button onclick="checkClient()">开始检测</button><span id=warning></span></td></tr>
	<tr><td align=center id=test1 width=60 height=60></td><td colspan=2>1.ActiveX控件是否正常(<a href="../common/Setup.msi">如果控件不能自动安装,请手动下载安装</a>)</td></tr>
	<tr><td align=center id=test2 width=60 height=60></td><td colspan=2>2.读卡器驱动文件是否存在(<a href="javascript:card.v()" onclick="handInstallDriver()">手动释放</a>)</td></tr>
	<tr><td align=center id=test3 width=60 height=60></td><td colspan=2>3.读卡器是否正常(通过USB口接入读卡器,如果读卡器上的指示灯不亮,说明驱动还没有安装(<a href="读卡器驱动安装.ppt" target=_blank>驱动安装演示</a>))&nbsp;<a href="javascript:card.v()" onclick="testReadCard()">试一下读卡</a></td></tr>
	<tr><td align=center id=test4 width=60 height=60></td><td colspan=2>4.密码键盘是否正常(请把密码键盘正确接入PC的COM1口和PS2口)&nbsp;设置COM口<select id=selectPort><option value="1">COM1</option><option value="2" >COM2</option><option value="3">COM3</option><option value="4">COM4</option></select><button onclick="setPinPadPort(selectPort.value)">保存</button>&nbsp;<a href="javascript:card.v()" onclick="testGetPin()">试一下密码键盘输入密码</a></td></tr>
	<tr><td colspan=3 >&nbsp;&nbsp;&nbsp;&nbsp;读卡器总是提示"无卡",请把"<font color=red>reg add "hklm\system\currentcontrolset\control\cardman\rfid" /v StopTracking /t reg_dword /d 1000</font>"复制到操作系统"开始->运行"里点击"确认"</td></tr>
</table>
</body>
</html>